

package com.hazelcast.internal.util;

public class MutableByte {
    private byte value;

    public MutableByte(byte value) {
        this.value = value;
    }

    public byte getValue() {
        return value;
    }

    public void setValue(byte value) {
        this.value = value;
    }

    public void inc() {
        ++this.value;
    }

    @Override
    public String toString() {
        return "MutableByte{value=" + value + '}';
    }
}
